// 1832. 判断句子是否为全字母句
/**
 * @param {string} sentence
 * @return {boolean}
 */
// 数组
var checkIfPangram = function (sentence) {
	const cnt = new Array(26).fill(0)
	for (const str of sentence) {
		cnt[str.charCodeAt() - 'a'.charCodeAt()]++
	}
	return cnt.filter(Boolean).length === 26
}
// 去重判断长度
var checkIfPangram = function (sentence) {
	return new Set(sentence.split('')).size === 26
}
